<div class="phongtraocbs view">
<h2><?php  __('Phongtraocb');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraocb['Phongtraocb']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Loaiphongtrao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($phongtraocb['Loaiphongtrao']['id'], array('controller' => 'loaiphongtraos', 'action' => 'view', $phongtraocb['Loaiphongtrao']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Chidoansv Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraocb['Phongtraocb']['chidoansv_id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Cap'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($phongtraocb['Cap']['id'], array('controller' => 'caps', 'action' => 'view', $phongtraocb['Cap']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenphongtrao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraocb['Phongtraocb']['tenphongtrao']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybatdau'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraocb['Phongtraocb']['ngaybatdau']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Thanhtich'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraocb['Phongtraocb']['thanhtich']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngayketthuc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraocb['Phongtraocb']['ngayketthuc']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $phongtraocb['Phongtraocb']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Phongtraocb', true), array('action' => 'edit', $phongtraocb['Phongtraocb']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Phongtraocb', true), array('action' => 'delete', $phongtraocb['Phongtraocb']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraocb['Phongtraocb']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraocbs', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraocb', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaiphongtraos', true), array('controller' => 'loaiphongtraos', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaiphongtrao', true), array('controller' => 'loaiphongtraos', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Chidoancbs', true), array('controller' => 'chidoancbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Chidoancb', true), array('controller' => 'chidoancbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Caps', true), array('controller' => 'caps', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Cap', true), array('controller' => 'caps', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thanhtichcbs', true), array('controller' => 'thanhtichcbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thanhtichcb', true), array('controller' => 'thanhtichcbs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Thanhtichcbs');?></h3>
	<?php if (!empty($phongtraocb['Thanhtichcb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Phongtraocb Id'); ?></th>
		<th><?php __('Thanhtichcb'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($phongtraocb['Thanhtichcb'] as $thanhtichcb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $thanhtichcb['id'];?></td>
			<td><?php echo $thanhtichcb['canbo_id'];?></td>
			<td><?php echo $thanhtichcb['phongtraocb_id'];?></td>
			<td><?php echo $thanhtichcb['thanhtichcb'];?></td>
			<td><?php echo $thanhtichcb['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'thanhtichcbs', 'action' => 'view', $thanhtichcb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'thanhtichcbs', 'action' => 'edit', $thanhtichcb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'thanhtichcbs', 'action' => 'delete', $thanhtichcb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $thanhtichcb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Thanhtichcb', true), array('controller' => 'thanhtichcbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
